package com.yun.dao;

import com.yun.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {

    //往数据库中添加数据
    public int addUser(User user);

    //从数据库中查询数据
    public User getAllUser(String usercode);

    //从数据库中查询数据
    public User queryUser(@Param("uname") String uname,@Param("pwd") String pwd);
}
